/**
 * Created by Administrator on 2018/11/29/0029.
 */

function get_admin_rule(scope){
    if(scope != 100){
        layer.msg('权限不足',{icon:5,time:2000},function(){
            var userAgent = navigator.userAgent;
            if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") !=-1) {
                window.location.href="about:blank";
                window.close();
            } else {
                window.opener = null;
                window.open("", "_self");
                window.close();
            }
        });
    }
}